package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsCouponDO;
import com.macro.mall.model.sms.SmsCouponQuery;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SmsCouponMapper extends BaseMapper<SmsCouponDO> {
    long countByExample(SmsCouponQuery example);

    int deleteByExample(SmsCouponQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsCouponDO record);

    int insertSelective(SmsCouponDO record);

    List<SmsCouponDO> selectByExample(SmsCouponQuery example);

    SmsCouponDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsCouponDO record, @Param("example") SmsCouponQuery example);

    int updateByExample(@Param("record") SmsCouponDO record, @Param("example") SmsCouponQuery example);

    int updateByPrimaryKeySelective(SmsCouponDO record);

    int updateByPrimaryKey(SmsCouponDO record);
}
